var activeElement;
var colorPickerActive = false; // set to true and click some where in the browers on a memory html to change the color.

function activateCP(elementToActivate)
{
   if (colorPickerActive)
   {
      $S('plugin').display = 'block';
      activeElement = elementToActivate;
   }
}

function mkColor(v)
{
   activeElement.style.background = '#' + v;
}
